﻿/*
	Date	: 10.10.11
	Author	: Daniel
	Purpose	: Routes Data Manager
	
 */
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace GoldAir_DesktopApp
{
    public partial class frmRoute : Form
    {
        public frmRoute()
        {
            InitializeComponent();
        }

        private void routeBindingNavigatorSaveItem_Click(object sender, EventArgs e)
        {
            this.Validate();
            this.routeBindingSource.EndEdit();
            this.tableAdapterManager.UpdateAll(this.route_dbDataSet);

        }

        private void frmRoute_Load(object sender, EventArgs e)
        {
            // TODO: This line of code loads data into the 'route_dbDataSet.route' table. You can move, or remove it, as needed.
            this.routeTableAdapter.Fill(this.route_dbDataSet.route);

        }
    }
}
